package com.imooc.test;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 定义注解类
 * Created by joe on 16-8-7.
 */
@Target({ElementType.FIELD})//表示用在字段上面
@Retention(RetentionPolicy.RUNTIME)//生命周期:运行时来解析
public @interface Column {

    String value();
}
